﻿<navigation:Page x:Class="ArcgisStudy.About" 
                     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
                 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
    xmlns:local="clr-namespace:ArcgisStudy"
    mc:Ignorable="d" xmlns:ESRI_ArcGIS_Client="clr-namespace:ESRI.ArcGIS.Client;assembly=ESRI.ArcGIS.Client" 
                 
              d:DesignWidth="640" d:DesignHeight="480" Title="关于" Style="{StaticResource PageStyle}">

    <Grid x:Name="LayoutRoot">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="320"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>







        <ESRI_ArcGIS_Client:Map x:Name="MapControl"   Grid.Column="1" MouseMove="MapControl_MouseMove"   MouseClick="MapControl_MouseClick" d:IsHidden="True" d:IsLocked="True">
            <ESRI_ArcGIS_Client:Map.Layers>
                <ESRI_ArcGIS_Client:GraphicsLayer ID="gLayer"></ESRI_ArcGIS_Client:GraphicsLayer>
            </ESRI_ArcGIS_Client:Map.Layers>
        </ESRI_ArcGIS_Client:Map>


        <TextBox HorizontalAlignment="Left"  Grid.Column="0" VerticalAlignment="Top" x:Name="tt" Text="TextBlock" TextWrapping="Wrap"/>
        <ScrollViewer x:Name="PageScrollViewer"   Grid.Column="0" Margin="0,80,0,0"  >
            <StackPanel Orientation="Vertical" x:Name="pics"> 
                <Image Source="http://localhost/tiles/r1321211021033133.png?g=49" Tag="1321211021033133"  MouseMove="Image_MouseMove" Width="256" Height="256" />
                <Image Source="http://localhost/tiles/r1321211021120322.png?g=49" Tag="1321211021120322"  MouseMove="Image_MouseMove" Width="256" Height="256" />
            </StackPanel>
        </ScrollViewer>


        <Grid   x:Name="可视化样式定义"   Visibility="Collapsed" Grid.ColumnSpan="2">
            <TextBlock Height="16" VerticalAlignment="Top">各图标所表示的意思</TextBlock>
            <ListBox>
                <ListBox.Items>
                    <StackPanel Height="34" Orientation="Horizontal"  >
                        <TextBlock Text="线路颜色" Width="100"/>
                        <Path Stretch="Fill"  x:Name="RouteLineSymbolStyle"  Stroke="#FF1ECA1B" Fill="#FF1ECC12" StrokeThickness="5" Height="5" Width="80"  Data="M120,34 L401.5,34"/>
                    </StackPanel>
                    <StackPanel Height="34" Orientation="Horizontal"  >
                        <TextBlock Text="下行站点图标" Width="100"/>
                        <Image Width="16" Height="16" x:Name="StationDownSiteStyle" Source="/images/浅蓝.png"/>
                    </StackPanel>

                    <StackPanel Height="34" Orientation="Horizontal"  >
                        <TextBlock Text="上行站点图标" Width="100"/>
                        <Image Width="16" Height="16" x:Name="StationUpSiteStyle" Source="/images/桔红.png"/>
                    </StackPanel>
                    <StackPanel Height="34" Orientation="Horizontal"  >
                        <TextBlock Text="一般车辆图标" Width="100"/>
                        <Image Width="32" Height="32" x:Name="RouteBusCommonStyle" Source="/images/car-blue-32x32.png"/>
                    </StackPanel>
                    <StackPanel  Height="34" Orientation="Horizontal"  >
                        <TextBlock Text="离线车辆图标" Width="100"/>
                        <Image Width="32" Height="32" x:Name="RouteBusOffLineStyle" Source="/images/car-yellow-32x32.png"/>
                    </StackPanel>
                    <StackPanel Height="34" Orientation="Horizontal"  >
                        <TextBlock Text="异常车辆图标" Width="100"/>
                        <Image Width="32" Height="32" x:Name="RouteBusErrorStyle" Source="/images/car-red-32x32.png"/>
                    </StackPanel>

                    <StackPanel Height="34" Orientation="Horizontal"  >
                        <TextBlock Text="驾驭员请求图标" Width="100"/>
                        <Image Width="32" Height="32" x:Name="DriverRequestStyle" Source="/images/flag-cyan-32x32.png"/>
                    </StackPanel>
                </ListBox.Items>
            </ListBox>


        </Grid>
    </Grid>

</navigation:Page>
